# 作业1
def is_even(number):
    if number % 2 == 0:
        print(True)
    else:
        print(False)


is_even(99)


# 作业2
def reverse_str(s):
    l = len(s)
    print(s[-1:-1 - l:-1])


reverse_str("diufhebfjfsdhiu")


# 作业3
def print_num(num):
    for i in range(1, num + 1):
        print("hello python")


print_num(10)


# 作业4
def my_max(num1, num2):
    if num1 > num2:
        print(num1)
    else:
        print(num2)


my_max(10, 20)
